package com.lhy.goods.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lhy.domain.Spec;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author lhy
* @description 针对表【goods_spec(规格表)】的数据库操作Service
* @createDate 2024-07-26 18:50:38
*/
public interface SpecService extends IService<Spec> {
    List<Spec> selectAll();
    Integer insert(Spec spec);
    Integer update(Spec spec);
    Integer delete(String ids);
    List<Spec> selectList(Spec spec);
    Page<Spec> pageAll(Integer current, Integer size);
    Page<Spec> pageList(Spec spec, Integer current, Integer size);




}
